//
//  MineView.h
//  iMine
//
//  Created by gaoxiang on 09-3-7.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface MineView : NSView {
	NSImage *viewImage;
}
@property(retain) NSImage *viewImage;

- (void)mouseDown:(NSEvent *)theEvent;
- (void)mouseUp:(NSEvent *)theEvent;
- (void)otherMouseDown:(NSEvent *)theEvent;
- (void)otherMouseUp:(NSEvent *)theEvent;
- (void)otherMouseDragged:(NSEvent *)theEvent;

- (NSPoint)randomPoint;
- (void)resizeView:(NSSize)size;
//- (void)mouseDown:(NSEvent *)theEvent;
- (void)postMouseUpNotification:(NSEvent *)theEvent;
- (void)postMouseDownNotification:(NSEvent *)theEvent;
- (void)postMouseDraggedNotification:(NSEvent *)theEvent;

- (void)postRightMouseDownNotification:(NSEvent *)theEvent;

- (void)postOtherMouseUpNotification:(NSEvent *)theEvent;
- (void)postOtherMouseDownNotification:(NSEvent *)theEvent;
- (void)postOtherMouseDraggedNotification:(NSEvent *)theEvent;

@end
